home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3compas.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_COMPASS_H = 1;
- include("oops/r3root.js")
-
-
- var R3CLID_COMPASS = 899;
-
-
-
-
- // Description: Begins selection from the compass. Draws the compass.
- // Returns: Boolean, TRUE if succesfull
- // p3: window event describing the mouse position
-
- R3COMPASSM_BEGIN = 899000;
-
- function mR3COMPASSM_BEGIN(p3) {
- return DoA(this.r3obj, 899000, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Accepts the selection.
- // p3: window event describing the mouse position
-
- R3COMPASSM_ACCEPT = 899001;
-
- function mR3COMPASSM_ACCEPT(p3) {
- DoA(this.r3obj, 899001, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Cancels the selection.
-
- R3COMPASSM_CANCEL = 899002;
-
- function mR3COMPASSM_CANCEL() {
- DoA(this.r3obj, 899002, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Cancels the selection.
- // p3: window event describing the mouse position
-
- R3COMPASSM_MOVE = 899003;
-
- function mR3COMPASSM_MOVE(p3) {
- DoA(this.r3obj, 899003, p3, R3TID_INTEGER, 0);
- }
-
- // Description: Sent to compass when it should show the labels.
-
- R3COMPASSM_SHOWLABELS = 899004;
-
- function mR3COMPASSM_SHOWLABELS() {
- DoA(this.r3obj, 899004, 0, R3TID_INTEGER, 0);
- }
-
-
-
-
- R3COMPASSA_CallbackObject = 899501;
- function SetR3COMPASSA_CallbackObject(value) {
- R3Set(this.r3obj, R3COMPASSA_CallbackObject, value, R3TID_OBJECT, 0);
- }
-
- R3COMPASSA_CallbackMethod = 899502;
- function SetR3COMPASSA_CallbackMethod(value) {
- R3Set(this.r3obj, R3COMPASSA_CallbackMethod, value, R3TID_INTEGER, R3TNF_ARRAY);
- }
-
- R3COMPASSA_Circles = 899503;
- function SetR3COMPASSA_Circles(value) {
- R3Set(this.r3obj, R3COMPASSA_Circles, value, R3TID_INTEGER, R3TNF_ARRAY);
- }
-
- R3COMPASSA_Labels = 899504;
- function SetR3COMPASSA_Labels(value) {
- R3Set(this.r3obj, R3COMPASSA_Labels, value, R3TID_STRING, R3TNF_ARRAY);
- }
-
-
-
- function r3Compass () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_COMPASS, arguments);
- }
- // Methods
- this.BEGIN=mR3COMPASSM_BEGIN;
- this.ACCEPT=mR3COMPASSM_ACCEPT;
- this.CANCEL=mR3COMPASSM_CANCEL;
- this.MOVE=mR3COMPASSM_MOVE;
- this.SHOWLABELS=mR3COMPASSM_SHOWLABELS;
-
- // Attributes
- this.SetCallbackObject=SetR3COMPASSA_CallbackObject;
- this.SetCallbackMethod=SetR3COMPASSA_CallbackMethod;
- this.SetCircles=SetR3COMPASSA_Circles;
- this.SetLabels=SetR3COMPASSA_Labels;
- }
-
- r3Compass.prototype=new r3Root;
- // r3compas.h_H